import Vue from "vue";
import Router from "vue-router";
import home from "./views/home";
import classify from "./views/classify";
import shopCar from "./views/shopCar"
import my from "./views/my"

Vue.use(Router);

export default new Router({
    routes: [
        {
            path: "/",
            name: "home",
            component: home
        },
        {
            path: "/classify",
            name: "classify",
            component: classify
        },
        {
            path: "/shopCar",
            name: "shopCar",
            component: shopCar
        },
        {
            path: "/my",
            name: "my",
            component: my
        },
    ]
});
